Optimal. Leaf size=56 \[ \frac{(2 A b-a B) \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a+b x}}\right )}{b^{3/2}}+\frac{B \sqrt{x} \sqrt{a+b x}}{b} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.070188, antiderivative size = 56, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.15 \[ \frac{(2 A b-a B) \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a+b x}}\right )}{b^{3/2}}+\frac{B \sqrt{x} \sqrt{a+b x}}{b} \]
Antiderivative was successfully verified.
[In] Int[(A + B*x)/(Sqrt[x]*Sqrt[a + b*x]),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 6.00705, size = 51, normalized size = 0.91 \[ \frac{B \sqrt{x} \sqrt{a + b x}}{b} + \frac{2 \left (A b - \frac{B a}{2}\right ) \operatorname{atanh}{\left (\frac{\sqrt{a + b x}}{\sqrt{b} \sqrt{x}} \right )}}{b^{\frac{3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x+A)/x**(1/2)/(b*x+a)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0542538, size = 59, normalized size = 1.05 \[ \frac{(2 A b-a B) \log \left (\sqrt{b} \sqrt{a+b x}+b \sqrt{x}\right )}{b^{3/2}}+\frac{B \sqrt{x} \sqrt{a+b x}}{b} \]
Antiderivative was successfully verified.
[In] Integrate[(A + B*x)/(Sqrt[x]*Sqrt[a + b*x]),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.02, size = 101, normalized size = 1.8 \[{\frac{1}{2}\sqrt{x}\sqrt{bx+a} \left ( 2\,A\ln \left ( 1/2\,{\frac{2\,\sqrt{x \left ( bx+a \right ) }\sqrt{b}+2\,bx+a}{\sqrt{b}}} \right ) b-B\ln \left ({\frac{1}{2} \left ( 2\,\sqrt{x \left ( bx+a \right ) }\sqrt{b}+2\,bx+a \right ){\frac{1}{\sqrt{b}}}} \right ) a+2\,B\sqrt{x \left ( bx+a \right ) }\sqrt{b} \right ){b}^{-{\frac{3}{2}}}{\frac{1}{\sqrt{x \left ( bx+a \right ) }}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x+A)/x^(1/2)/(b*x+a)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/(sqrt(b*x + a)*sqrt(x)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.241709, size = 1, normalized size = 0.02 \[ \left [\frac{2 \, \sqrt{b x + a} B \sqrt{b} \sqrt{x} -{\left (B a - 2 \, A b\right )} \log \left (2 \, \sqrt{b x + a} b \sqrt{x} +{\left (2 \, b x + a\right )} \sqrt{b}\right )}{2 \, b^{\frac{3}{2}}}, \frac{\sqrt{b x + a} B \sqrt{-b} \sqrt{x} -{\left (B a - 2 \, A b\right )} \arctan \left (\frac{\sqrt{b x + a} \sqrt{-b}}{b \sqrt{x}}\right )}{\sqrt{-b} b}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/(sqrt(b*x + a)*sqrt(x)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 17.0874, size = 73, normalized size = 1.3 \[ \frac{2 A \operatorname{asinh}{\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a}} \right )}}{\sqrt{b}} + \frac{B \sqrt{a} \sqrt{x} \sqrt{1 + \frac{b x}{a}}}{b} - \frac{B a \operatorname{asinh}{\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a}} \right )}}{b^{\frac{3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x+A)/x**(1/2)/(b*x+a)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 12.746, size = 4, normalized size = 0.07 \[ \mathit{sage}_{0} x \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/(sqrt(b*x + a)*sqrt(x)),x, algorithm="giac")
[Out]